﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CROSLAND.BL.BE;

namespace CROSLAND.WebApp.Impresion
{
    public partial class ResumenVentaPopup : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string str = "<script type='text/javascript'>var win=window.open('DetalleVentaPopup.aspx?np=" + "" + "','Detalle','width=850,height=620,top=50,left=150,status=no,resizable=no,scrollbars=yes','true');</script>";
            ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "Detalle cierre Caja", str, false);
        }


        public List<ResumenVentaBE> obtenerImpresionResumenVenta()
        {
            if (Session["ResumenVenta"] != null)
            {
                return (List<ResumenVentaBE>)Session["ResumenVenta"];
            }

            return new List<ResumenVentaBE>();
        }


    }
}